package com.itheima.user.mapper;

import com.itheima.entity.pojo.NotificationSettings;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author :wujunjie
 * createTime :2022-12-21 10:25
 * description :
 */
@Mapper
public interface NotificationSettingsMapper {
    Boolean update(@Param("notificationSettings") NotificationSettings notificationSettings);

    Boolean insert(@Param("notificationSettings") NotificationSettings notificationSettings);

    NotificationSettings select(@Param("userId") String userId);
}
